package com.hsl.housaileibot001.ai.service;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

// @AiService(
//         wiringMode = EXPLICIT,
//         chatModel = "qwenChatModel2"
// )
public interface AiChatService2 {

    // @SystemMessage("你是一位编程小助手")
    @SystemMessage(fromResource = "prompts/system-prompt-ok.txt")
    String chat(String userMessage);

    @SystemMessage(fromResource = "prompts/system-prompt-json.txt")
    String chatToJson(String userMessage);
}